package com.zdp.sources.common.db;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface DataSourceSwitch {
    // 默认数据源为主数据源
    DBTypeEnum value() default DBTypeEnum.MASTER;
}
